/*
 * *****************************************************************************
 *  Copyright ( c ) 2019 huibur Inc. All Rights Reserved.
 *
 *  This software is the confidential and proprietary information of Huibur Inc
 *  (*Confidential Information*). You shall not disclose such Confidential Information
 *  and shall use it only in accordance with the terms of the license agreement
 *  you entered into with Huibur or a Huibur authorized
 *  reseller (the "License Agreement*).
 *  ******************************************************************************
 */

package com.huibur.devicecheck.model.vo;

import com.huibur.devicecheck.annotation.Phone;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

import java.sql.Timestamp;

/*******************************************************
* Title: UserVO.java
* Description:
* @author baiqingshuo
* @date 2021/9/18
* @version 1.0
*******************************************************/
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
public class UserVO {

    /**
     * 主键id
     */
    private Long adminId;

    /**
     * 1:系统管理员 2:检验员 3:普通人员
     */
    private Long role;

    /**
     * 手机号
     */
    @Phone
    private String mobile;

    /**
     * 名称
     */
    private String name;

    private Timestamp createAt;

    /**
     * 1: 正常 2：删除  3：禁用
     */
    private Integer status;

    /**
     * token
     */
    private String token;
}
